Optimal. Leaf size=65 \[ -\frac {2 b}{15 c x^3}+\frac {b \text {ArcTan}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}+\frac {b \tanh ^{-1}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6037, 269, 331,
218, 212, 209} \begin {gather*} -\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}+\frac {b \text {ArcTan}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}+\frac {b \tanh ^{-1}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}-\frac {2 b}{15 c x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 269
Rule 331
Rule 6037
Rubi steps
\begin {align*} \int \frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{x^6} \, dx &=-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}-\frac {1}{5} (2 b c) \int \frac {1}{\left (1-\frac {c^2}{x^4}\right ) x^8} \, dx\\ &=-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}-\frac {1}{5} (2 b c) \int \frac {1}{x^4 \left (-c^2+x^4\right )} \, dx\\ &=-\frac {2 b}{15 c x^3}-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}-\frac {(2 b) \int \frac {1}{-c^2+x^4} \, dx}{5 c}\\ &=-\frac {2 b}{15 c x^3}-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}+\frac {b \int \frac {1}{c-x^2} \, dx}{5 c^2}+\frac {b \int \frac {1}{c+x^2} \, dx}{5 c^2}\\ &=-\frac {2 b}{15 c x^3}+\frac {b \tan ^{-1}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}-\frac {a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}+\frac {b \tanh ^{-1}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 90, normalized size = 1.38 \begin {gather*} -\frac {a}{5 x^5}-\frac {2 b}{15 c x^3}+\frac {b \text {ArcTan}\left (\frac {x}{\sqrt {c}}\right )}{5 c^{5/2}}-\frac {b \tanh ^{-1}\left (\frac {c}{x^2}\right )}{5 x^5}-\frac {b \log \left (\sqrt {c}-x\right )}{10 c^{5/2}}+\frac {b \log \left (\sqrt {c}+x\right )}{10 c^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 57, normalized size = 0.88
method | result | size |
derivativedivides | \(-\frac {a}{5 x^{5}}-\frac {b \arctanh \left (\frac {c}{x^{2}}\right )}{5 x^{5}}-\frac {2 b}{15 c \,x^{3}}-\frac {b \arctan \left (\frac {\sqrt {c}}{x}\right )}{5 c^{\frac {5}{2}}}+\frac {b \arctanh \left (\frac {\sqrt {c}}{x}\right )}{5 c^{\frac {5}{2}}}\) | \(57\) |
default | \(-\frac {a}{5 x^{5}}-\frac {b \arctanh \left (\frac {c}{x^{2}}\right )}{5 x^{5}}-\frac {2 b}{15 c \,x^{3}}-\frac {b \arctan \left (\frac {\sqrt {c}}{x}\right )}{5 c^{\frac {5}{2}}}+\frac {b \arctanh \left (\frac {\sqrt {c}}{x}\right )}{5 c^{\frac {5}{2}}}\) | \(57\) |
risch | \(-\frac {b \ln \left (x^{2}+c \right )}{10 x^{5}}+\frac {i b \pi \,\mathrm {csgn}\left (i \left (-x^{2}+c \right )\right ) \mathrm {csgn}\left (\frac {i \left (-x^{2}+c \right )}{x^{2}}\right )^{2}}{20 x^{5}}+\frac {i b \pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (i \left (x^{2}+c \right )\right ) \mathrm {csgn}\left (\frac {i \left (x^{2}+c \right )}{x^{2}}\right )}{20 x^{5}}+\frac {i b \pi \mathrm {csgn}\left (\frac {i \left (x^{2}+c \right )}{x^{2}}\right )^{3}}{20 x^{5}}+\frac {i b \pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (\frac {i \left (-x^{2}+c \right )}{x^{2}}\right )^{2}}{20 x^{5}}-\frac {i b \pi \mathrm {csgn}\left (\frac {i \left (-x^{2}+c \right )}{x^{2}}\right )^{2}}{10 x^{5}}-\frac {i b \pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (i \left (-x^{2}+c \right )\right ) \mathrm {csgn}\left (\frac {i \left (-x^{2}+c \right )}{x^{2}}\right )}{20 x^{5}}+\frac {i b \pi \mathrm {csgn}\left (\frac {i \left (-x^{2}+c \right )}{x^{2}}\right )^{3}}{20 x^{5}}+\frac {i b \pi }{10 x^{5}}-\frac {i b \pi \,\mathrm {csgn}\left (\frac {i}{x^{2}}\right ) \mathrm {csgn}\left (\frac {i \left (x^{2}+c \right )}{x^{2}}\right )^{2}}{20 x^{5}}-\frac {i b \pi \,\mathrm {csgn}\left (i \left (x^{2}+c \right )\right ) \mathrm {csgn}\left (\frac {i \left (x^{2}+c \right )}{x^{2}}\right )^{2}}{20 x^{5}}-\frac {a}{5 x^{5}}+\frac {b \ln \left (-x^{2}+c \right )}{10 x^{5}}+\frac {b \arctanh \left (\frac {x}{\sqrt {c}}\right )}{5 c^{\frac {5}{2}}}-\frac {2 b}{15 c \,x^{3}}+\frac {b \arctan \left (\frac {x}{\sqrt {c}}\right )}{5 c^{\frac {5}{2}}}\) | \(347\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 65, normalized size = 1.00 \begin {gather*} \frac {1}{30} \, {\left (c {\left (\frac {6 \, \arctan \left (\frac {x}{\sqrt {c}}\right )}{c^{\frac {7}{2}}} - \frac {3 \, \log \left (\frac {x - \sqrt {c}}{x + \sqrt {c}}\right )}{c^{\frac {7}{2}}} - \frac {4}{c^{2} x^{3}}\right )} - \frac {6 \, \operatorname {artanh}\left (\frac {c}{x^{2}}\right )}{x^{5}}\right )} b - \frac {a}{5 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] Leaf count of result is larger than twice the leaf count of optimal. 103 vs.
\(2 (49) = 98\).
time = 0.38, size = 196, normalized size = 3.02 \begin {gather*} \left [\frac {6 \, b \sqrt {c} x^{5} \arctan \left (\frac {x}{\sqrt {c}}\right ) + 3 \, b \sqrt {c} x^{5} \log \left (\frac {x^{2} + 2 \, \sqrt {c} x + c}{x^{2} - c}\right ) - 4 \, b c^{2} x^{2} - 3 \, b c^{3} \log \left (\frac {x^{2} + c}{x^{2} - c}\right ) - 6 \, a c^{3}}{30 \, c^{3} x^{5}}, -\frac {6 \, b \sqrt {-c} x^{5} \arctan \left (\frac {\sqrt {-c} x}{c}\right ) + 3 \, b \sqrt {-c} x^{5} \log \left (\frac {x^{2} - 2 \, \sqrt {-c} x - c}{x^{2} + c}\right ) + 4 \, b c^{2} x^{2} + 3 \, b c^{3} \log \left (\frac {x^{2} + c}{x^{2} - c}\right ) + 6 \, a c^{3}}{30 \, c^{3} x^{5}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 994 vs.
\(2 (61) = 122\).
time = 7.13, size = 994, normalized size = 15.29 \begin {gather*} \begin {cases} - \frac {a}{5 x^{5}} & \text {for}\: c = 0 \\- \frac {a - \infty b}{5 x^{5}} & \text {for}\: c = - x^{2} \\- \frac {a + \infty b}{5 x^{5}} & \text {for}\: c = x^{2} \\\frac {6 a c^{13} \sqrt {- c}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {6 a c^{11} x^{4} \sqrt {- c}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {6 b c^{\frac {21}{2}} x^{5} \sqrt {- c} \log {\left (- \sqrt {c} + x \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {3 b c^{\frac {21}{2}} x^{5} \sqrt {- c} \log {\left (x - \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {3 b c^{\frac {21}{2}} x^{5} \sqrt {- c} \log {\left (x + \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {6 b c^{\frac {21}{2}} x^{5} \sqrt {- c} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {6 b c^{\frac {17}{2}} x^{9} \sqrt {- c} \log {\left (- \sqrt {c} + x \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {3 b c^{\frac {17}{2}} x^{9} \sqrt {- c} \log {\left (x - \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {3 b c^{\frac {17}{2}} x^{9} \sqrt {- c} \log {\left (x + \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {6 b c^{\frac {17}{2}} x^{9} \sqrt {- c} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {6 b c^{13} \sqrt {- c} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {4 b c^{12} x^{2} \sqrt {- c}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {3 b c^{11} x^{5} \log {\left (x - \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {3 b c^{11} x^{5} \log {\left (x + \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {6 b c^{11} x^{4} \sqrt {- c} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {4 b c^{10} x^{6} \sqrt {- c}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} + \frac {3 b c^{9} x^{9} \log {\left (x - \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} - \frac {3 b c^{9} x^{9} \log {\left (x + \sqrt {- c} \right )}}{- 30 c^{13} x^{5} \sqrt {- c} + 30 c^{11} x^{9} \sqrt {- c}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 74, normalized size = 1.14 \begin {gather*} -\frac {1}{5} \, b {\left (\frac {\arctan \left (\frac {x}{\sqrt {-c}}\right )}{\sqrt {-c} c^{2}} - \frac {\arctan \left (\frac {x}{\sqrt {c}}\right )}{c^{\frac {5}{2}}}\right )} - \frac {b \log \left (\frac {x^{2} + c}{x^{2} - c}\right )}{10 \, x^{5}} - \frac {2 \, b x^{2} + 3 \, a c}{15 \, c x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.00, size = 69, normalized size = 1.06 \begin {gather*} \frac {b\,\mathrm {atan}\left (\frac {x}{\sqrt {c}}\right )}{5\,c^{5/2}}-\frac {2\,b}{15\,c\,x^3}-\frac {a}{5\,x^5}-\frac {b\,\ln \left (x^2+c\right )}{10\,x^5}+\frac {b\,\ln \left (x^2-c\right )}{10\,x^5}-\frac {b\,\mathrm {atan}\left (\frac {x\,1{}\mathrm {i}}{\sqrt {c}}\right )\,1{}\mathrm {i}}{5\,c^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________